package com.jinbaoty.recyclebins.server;

import org.xutils.db.annotation.Column;
import org.xutils.db.annotation.Table;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@Table(name="order_form")
public class OrderForm {
    @Column(isId = true,name="id")
    private java.lang.Long id;

    @Column(name="order_no")
    private java.lang.String orderNo;

    @Column(name="user_id")
    private java.lang.Long userId;

    @Column(name="waste_id")
    private java.lang.Long wasteId;

    @Column(name="waste_weight")
    private Long wasteWeight;

    @Column(name="price")
    private Long price;

    @Column(name="total_price")
    private Long totalPrice;

    @Column(name="create_time")
    private java.util.Date createTime;

    @Column(name="state")
    private java.lang.Long state;

    @Column(name="bins_id")
    private java.lang.String binsId;

    public String getBinsId() {
        return binsId;
    }

    public void setBinsId(String binsId) {
        this.binsId = binsId;
    }

    @Column(name="finish_time")
    private java.util.Date finishTime;

    @Column(name="error_code")
    private java.lang.Long errorCode;

    @Column(name="error_msg")
    private java.lang.String errorMsg;

    @Column(name="waste_status")
    private java.lang.Integer wasteStatus;

    @Column(name="commandSet")
    private Integer commandSet;

    private WasteType wasteIdModel;

    private Items items;


}
